package com.tamo.ppresta.httpapi;

import androidx.annotation.NonNull;

import com.hjq.http.config.IRequestApi;
import com.tamo.ppresta.constant.API_CONSTANT;

import org.jetbrains.annotations.NotNull;

/**
 * @author yeyang
 * @name ppresta
 * @class name：com.tamo.ppresta.httpapi
 * @class describe
 * @time 2022/12/31 19:38
 * @change
 * @chang time
 * @class describe
 */
public class SendVoiceCodeApi implements IRequestApi {
    @NonNull
    @NotNull
    @Override
    public String getApi() {
        return API_CONSTANT.SEND_VOICE_CODE;
    }

    private String languageCode;
    private String itemCode;
    private String mobile;
    private String smsType;
    private String flowCompanyCode;
    private String flowBindId;

    public SendVoiceCodeApi setLanguageCode(String languageCode) {
        this.languageCode = languageCode;
        return this;
    }

    public SendVoiceCodeApi setItemCode(String itemCode) {
        this.itemCode = itemCode;
        return this;
    }

    public SendVoiceCodeApi setMobile(String mobile) {
        this.mobile = mobile;
        return this;
    }

    public SendVoiceCodeApi setSmsType(String smsType) {
        this.smsType = smsType;
        return this;
    }

    public SendVoiceCodeApi setFlowCompanyCode(String flowCompanyCode) {
        this.flowCompanyCode = flowCompanyCode;
        return this;
    }

    public SendVoiceCodeApi setFlowBindId(String flowBindId) {
        this.flowBindId = flowBindId;
        return this;
    }
}